Skip to content
Browse files

test 3

  • Loading branch information...
1 parent b4714bf commit 071e23819606fc7042f16bfa8c33a944a1365691 gogamza committed Nov 8, 2012
Showing with 4 additions and 1 deletion.
  1. +4 −1 R/onLoad.R
View
5 R/onLoad.R
@@ -23,9 +23,12 @@
.onLoad <- function(libname, pkgname) {
- ret <- .jinit(parameters=c("-Dfile.encoding=UTF-8"), force.init=TRUE)
+ #options( java.parameters = c("-Dfile.encoding=UTF-8") )
+ ret <- .jinit(parameters="-Dfile.encoding=UTF-8")
if(ret < 0){
stop("Could not create VM.\n")
+ }else{
+ packageStartupMessage("Java initialized.\n")
}
.jpackage(pkgname, lib.loc = libname)
}

0 comments on commit 071e238

Please sign in to comment.
Something went wrong with that request. Please try again.