Astronomy research

Can we have a few dataset under this project, which are from astronomy…
Lot of Astronomy datasets are often in public domain. They could be synced or just syndicated from here.
And there is a growing branch called Astrostatistics which can be perfomed with the tools here, so that it is available or demonstrated to all as reproducible research.
One interesting dataset would be that of exoplanets.
Any suggestions?

1 Like

I released the RStars package about a month ago which gives access to the Digital Universe data set. Right now it includes stars, exoplanets, and galaxies. If you can think of anything that should be added let me know and maybe we can work on something together. I know that I need to go though and redo some of the CURL stuff but I’ve been super busy with grad apps and work.

1 Like

Some problem in installing RStars. roxygen went through:-

install_github(“klutometis/roxygen”)
Downloading github repo klutometis/roxygen@master
Installing roxygen2
Installing dependencies for roxygen2:
brew, Rcpp, Rcpp
Installing packages into ‘/Users/abhay/Library/R/3.1/library’
(as ‘lib’ is unspecified)
trying URL ’
http://cran.cnr.Berkeley.edu/bin/macosx/contrib/3.1/brew_1.0-6.tgz
Content type ‘application/x-gzip’ length 97854 bytes (95 Kb)
opened URL
==================================================
downloaded 95 Kb

trying URL ’
http://cran.cnr.Berkeley.edu/bin/macosx/contrib/3.1/Rcpp_0.11.3.tgz
Content type ‘application/x-gzip’ length 2502199 bytes (2.4 Mb)
opened URL

downloaded 2.4 Mb

tar: Failed to set default locale
tar: Failed to set default locale

The downloaded binary packages are in
/var/folders/M0/M0RkAm7RHVuJ3wSpyVL1R++++TM/-Tmp-//Rtmp77y4FV/downloaded_packages
‘/Library/Frameworks/R.framework/Resources/bin/R’ --vanilla CMD INSTALL \

‘/private/var/folders/M0/M0RkAm7RHVuJ3wSpyVL1R++++TM/-Tmp-/Rtmp77y4FV/devtools945153077092/klutometis-roxygen-1a0394d’

–library=‘/Users/abhay/Library/R/3.1/library’ --install-tests

During startup - Warning messages:
1: Setting LC_CTYPE failed, using “C”
2: Setting LC_TIME failed, using “C”
3: Setting LC_MESSAGES failed, using “C”
4: Setting LC_MONETARY failed, using “C”

  • installing source package ‘roxygen2’ …
    ** libs
    llvm-g+±4.2 -arch x86_64
    -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
    -I/usr/local/include -I"/Users/abhay/Library/R/3.1/library/Rcpp/include"
    -fPIC -mtune=core2 -g -O2 -c RcppExports.cpp -o RcppExports.o
    llvm-g+±4.2 -arch x86_64
    -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
    -I/usr/local/include -I"/Users/abhay/Library/R/3.1/library/Rcpp/include"
    -fPIC -mtune=core2 -g -O2 -c isComplete.cpp -o isComplete.o
    llvm-g+±4.2 -arch x86_64
    -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
    -I/usr/local/include -I"/Users/abhay/Library/R/3.1/library/Rcpp/include"
    -fPIC -mtune=core2 -g -O2 -c leadingSpaces.cpp -o leadingSpaces.o
    llvm-g+±4.2 -arch x86_64
    -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
    -I/usr/local/include -I"/Users/abhay/Library/R/3.1/library/Rcpp/include"
    -fPIC -mtune=core2 -g -O2 -c parser.cpp -o parser.o
    llvm-g+±4.2 -arch x86_64
    -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG
    -I/usr/local/include -I"/Users/abhay/Library/R/3.1/library/Rcpp/include"
    -fPIC -mtune=core2 -g -O2 -c wrapString.cpp -o wrapString.o
    llvm-g+±4.2 -arch x86_64 -dynamiclib -Wl,-headerpad_max_install_names
    -undefined dynamic_lookup -single_module -multiply_defined suppress
    -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib
    -L/usr/local/lib -o roxygen2.so RcppExports.o isComplete.o leadingSpaces.o
    parser.o wrapString.o -F/Library/Frameworks/R.framework/… -framework R
    -Wl,-framework -Wl,CoreFoundation
    installing to /Users/abhay/Library/R/3.1/library/roxygen2/libs
    ** R
    ** tests
    ** preparing package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** installing vignettes
    ** testing if installed package can be loaded
    During startup - Warning messages:
    1: Setting LC_CTYPE failed, using “C”
    2: Setting LC_TIME failed, using “C”
    3: Setting LC_MESSAGES failed, using “C”
    4: Setting LC_MONETARY failed, using “C”
  • DONE (roxygen2)

install_github(“ropensci/RStars”)
Downloading github repo ropensci/RStars@master
Installing RStars
‘/Library/Frameworks/R.framework/Resources/bin/R’ --vanilla CMD INSTALL \

‘/private/var/folders/M0/M0RkAm7RHVuJ3wSpyVL1R++++TM/-Tmp-/Rtmp77y4FV/devtools94517b6dbbd3/ropensci-RStars-31ef0a9’

–library=‘/Users/abhay/Library/R/3.1/library’ --install-tests

During startup - Warning messages:
1: Setting LC_CTYPE failed, using “C”
2: Setting LC_TIME failed, using “C”
3: Setting LC_MESSAGES failed, using “C”
4: Setting LC_MONETARY failed, using “C”

  • installing source package ‘RStars’ …
    ** R
    ** preparing package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded
    During startup - Warning messages:
    1: Setting LC_CTYPE failed, using “C”
    2: Setting LC_TIME failed, using “C”
    3: Setting LC_MESSAGES failed, using “C”
    4: Setting LC_MONETARY failed, using “C”
    Error in namespaceExport(ns, exports) : undefined exports: exoplantname
    Error: loading failed
    Execution halted
    ERROR: loading failed
  • removing ‘/Users/abhay/Library/R/3.1/library/RStars’
    Error: Command failed (1)

Abhay Karnataki
M: 09900279932

+1 for rstars, nice work on that @kylehamilton

@abhaymk Sorry about the error message. Curious, why did you install roxygen from Github? It should be available on CRAN via install.packages("roxygen2") http://cran.r-project.org/web/packages/roxygen2/index.html - looks like there’s a small problem in RStars - I’ll take a look at that

1 Like

Before I submitted RStars to rOpenSci I did submit it to CRAN (not sure if that was the correct way to do it I’m still figuring everything out). http://cran.r-project.org/web/packages/RStars/index.html

after defaults command mentioned in above link, it worked. RStars
installed. kudos to @kylehamilton for such a package, will soon come back
with more suggestions after usage. cheers.
btw roxygen I installed only to check my devtools github command. :slight_smile:

@abhaymk

Can you name some specific data sources and their URLs that you would be interested in using so we can dig into those deeper?