crtahlin / medplot

Functions for drawing graphs in R visualizing medical information.
4 stars 2 forks source link

lubridate package #38

Closed llaarraa closed 10 years ago

llaarraa commented 10 years ago

Error in library(lubridate) : there is no package called ‘lubridate’

install.packages("SVGAnnotation", repos="http://www.omegahat.org/R", type="source") Warning in install.packages : package ‘SVGAnnotation’ is not available (for R version 3.0.1) Installing package into ‘C:/Users/lara/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) trying URL 'http://www.omegahat.org/R/src/contrib/SVGAnnotation_0.93-1.tar.gz' Content type 'application/x-gzip' length 4625544 bytes (4.4 Mb) opened URL downloaded 4.4 Mb

  • installing source package 'SVGAnnotation' ... * R * data * inst * preparing package for lazy loading Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2 in method for 'genEdgeIds' with signature '"Ragraph"': no definition for class "Ragraph" in method for 'genEdgeIds' with signature '"graphNEL"': no definition for class "graphNEL" Creating a generic function from function 'getEdgeInfo' in package 'SVGAnnotation' in method for 'getEdgeInfo' with signature '"graphNEL"': no definition for class "graphNEL" \ help * installing help indices * building package indices * installing vignettes \ testing if installed package can be loaded * arch - i386 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2 *\ arch - x64 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2
  • DONE (SVGAnnotation)

The downloaded source packages are in ‘C:\Users\lara\AppData\Local\Temp\Rtmpg1AEwq\downloaded_packages’

library(devtools) Warning message: package ‘devtools’ was built under R version 3.0.2 install_github(username="crtahlin", repo="medplot", ref="crt") Installing github repo medplot/crt from crtahlin Downloading medplot.zip from https://github.com/crtahlin/medplot/archive/crt.zip Error: server error: (500) Internal Server Error

install.packages("SVGAnnotation", repos="http://www.omegahat.org/R", type="source") Warning in install.packages : package ‘SVGAnnotation’ is not available (for R version 3.0.1) Installing package into ‘C:/Users/lara/Documents/R/win-library/3.0’ (as ‘lib’ is unspecified) trying URL 'http://www.omegahat.org/R/src/contrib/SVGAnnotation_0.93-1.tar.gz' Content type 'application/x-gzip' length 4625544 bytes (4.4 Mb) opened URL downloaded 4.4 Mb

  • installing source package 'SVGAnnotation' ... * R * data * inst * preparing package for lazy loading Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2 in method for 'genEdgeIds' with signature '"Ragraph"': no definition for class "Ragraph" in method for 'genEdgeIds' with signature '"graphNEL"': no definition for class "graphNEL" Creating a generic function from function 'getEdgeInfo' in package 'SVGAnnotation' in method for 'getEdgeInfo' with signature '"graphNEL"': no definition for class "graphNEL" \ help * installing help indices * building package indices * installing vignettes \ testing if installed package can be loaded * arch - i386 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2 *\ arch - x64 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'XML' was built under R version 3.0.2
  • DONE (SVGAnnotation)

The downloaded source packages are in ‘C:\Users\lara\AppData\Local\Temp\Rtmpg1AEwq\downloaded_packages’

library(devtools) install_github(username="crtahlin", repo="medplot", ref="Crt") Installing github repo medplot/Crt from crtahlin Downloading medplot.zip from https://github.com/crtahlin/medplot/archive/Crt.zip Installing package from C:\Users\lara\AppData\Local\Temp\Rtmpg1AEwq/medplot.zip Installing medplot "C:/PROGRA~1/R/R-30~1.1/bin/x64/R" --vanilla CMD INSTALL \ "C:\Users\lara\AppData\Local\Temp\Rtmpg1AEwq\devtools29b4401c1c92\medplot-Crt" \ --library="C:/Users/lara/Documents/R/win-library/3.0" --install-tests

  • installing source package 'medplot' ... * R * inst * preparing package for lazy loading Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'gplots' was built under R version 3.0.2 Warning: package 'shiny' was built under R version 3.0.3 Warning: package 'scales' was built under R version 3.0.3 Warning: package 'ggplot2' was built under R version 3.0.3 Warning: package 'seriation' was built under R version 3.0.3 Warning: package 'XML' was built under R version 3.0.2 * help * installing help indices * building package indices * installing vignettes \ testing if installed package can be loaded * arch - i386 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'gplots' was built under R version 3.0.2 Warning: package 'shiny' was built under R version 3.0.3 Warning: package 'scales' was built under R version 3.0.3 Warning: package 'ggplot2' was built under R version 3.0.3 Warning: package 'seriation' was built under R version 3.0.3 Warning: package 'XML' was built under R version 3.0.2 *\ arch - x64 Warning: package 'Cairo' was built under R version 3.0.2 Warning: package 'gplots' was built under R version 3.0.2 Warning: package 'shiny' was built under R version 3.0.3 Warning: package 'scales' was built under R version 3.0.3 Warning: package 'ggplot2' was built under R version 3.0.3 Warning: package 'seriation' was built under R version 3.0.3 Warning: package 'XML' was built under R version 3.0.2
  • DONE (medplot)

runApp(file.path(path.package("medplot"), "shinyapp_symptoms2" )) Error: could not find function "runApp"

library(shiny) Warning message: package ‘shiny’ was built under R version 3.0.3

runApp(file.path(path.package("medplot"), "shinyapp_symptoms2" )) Error in path.package("medplot") : none of the packages are loaded

library(medplot) Loading required package: Cairo Loading required package: gplots KernSmooth 2.23 loaded Copyright M. P. Wand 1997-2009

Attaching package: ‘gplots’

The following object is masked from ‘package:stats’:

lowess

Loading required package: RColorBrewer Loading required package: scales Loading required package: reshape2 Loading required package: ggplot2 Need help? Try the ggplot2 mailing list: http://groups.google.com/group/ggplot2. Loading required package: seriation Loading required package: XML Loading required package: plyr

Attaching package: ‘medplot’

The following object is masked from ‘package:gplots’:

plotCI

Warning messages: 1: package ‘Cairo’ was built under R version 3.0.2 2: package ‘gplots’ was built under R version 3.0.2 3: package ‘scales’ was built under R version 3.0.3 4: package ‘ggplot2’ was built under R version 3.0.3 5: package ‘seriation’ was built under R version 3.0.3 6: package ‘XML’ was built under R version 3.0.2

runApp(file.path(path.package("medplot"), "shinyapp_symptoms2" )) Warning: package ‘gdata’ was built under R version 3.0.2 gdata: Unable to locate valid perl interpreter gdata: gdata: read.xls() will be unable to read Excel XLS and XLSX files unless the 'perl=' argument is used to specify gdata: the location of a valid perl intrpreter. gdata: gdata: (To avoid display of this message in the future, please ensure perl is installed and available on the gdata: executable search path.) gdata: Unable to load perl libaries needed by read.xls() gdata: to support 'XLX' (Excel 97-2004) files.

gdata: Unable to load perl libaries needed by read.xls() gdata: to support 'XLSX' (Excel 2007+) files.

gdata: Run the function 'installXLSXsupport()' gdata: to automatically download and install the perl gdata: libaries needed to support Excel XLS and XLSX formats.

Attaching package: ‘gdata’

The following object is masked from ‘package:stats’:

nobs

The following object is masked from ‘package:utils’:

object.size

Error in library(lubridate) : there is no package called ‘lubridate’

crtahlin commented 10 years ago

V gist: https://gist.github.com/crtahlin/7b4d03864ae7d5e6645e Sem dodal opomnik, da mora biti instaliran PERL ter vrstico za instalacijo paketa lubridate.

llaarraa commented 10 years ago

On a different pc (where I did not install lubridate with install.packages() I still get this error ) Error in library(lubridate) : there is no package called ‘lubridate’

crtahlin commented 10 years ago

I should have added the packege in the DESCRIPTION file. Have added it in aa9f5737b0701e66cc6c69692e14f63b1f0850a5 along with some others.

crtahlin commented 10 years ago

Something broke the fist plot - i suspect that lubridate.

crtahlin commented 10 years ago

It seems it was the "date" that caused some kind of conflict whenever it was attached. I removed it from the DESCRIPTION in aa9f5737b0701e66cc6c69692e14f63b1f0850a5 .