Advertisement
Guest User

Untitled

a guest
Aug 28th, 2016
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. mypackagefunction<-function(){
  2.  
  3. ##This is the constructor of my package
  4. ##1st step: define variables
  5.  
  6. gdata <<- NULL
  7.  
  8. #...
  9. #below of this, there are more functions and code
  10. }
  11.  
  12. mypackagefunction()
  13.  
  14. > mypackagefunction()
  15. > gdata
  16. NULL
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement