Package org.renjin.packaging

Examples of org.renjin.packaging.LazyLoadFrameBuilder


   
    final List<String> omit = Lists.newArrayList(
        ".Last.value", ".AutoloadEnv", ".BaseNamespaceEnv",
        ".Device", ".Devices", ".Machine", ".Options", ".Platform");
   
    new LazyLoadFrameBuilder(context)
    .outputTo(new File("target/classes/org/renjin/base"))
    .filter(new Predicate<NamedValue>() {
      public boolean apply(NamedValue namedValue) {
        if(omit.contains(namedValue.getName())) {
          return false;
View Full Code Here


 
  private void serializeEnvironment(Context context, Environment namespaceEnv, File environmentFile) {
   
    System.out.println("Writing namespace environment to " + environmentFile);
    try {
      LazyLoadFrameBuilder builder = new LazyLoadFrameBuilder(context);
      builder.outputTo(environmentFile.getParentFile());
      builder.build(namespaceEnv);
    } catch(IOException e) {
      throw new RuntimeException("Exception encountered serializing namespace environment", e);
    }
  }
View Full Code Here

TOP

Related Classes of org.renjin.packaging.LazyLoadFrameBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.